/**
 * 批量交付计划管理接口
 */
import { axios } from '../utils/request'
// import { toQueryString, toQueryInt } from '@/utils/util'

// 首页列表页数据
export function getList (parameter) {
  return axios({
    // url: 'https://test-app.dyzh120.com/apis/smart-hospital-server/web/doctor/list',
    url: 'https://zzt.weixin.api.dyzh120.com/api/v1/seoWebsite/list',
    method: 'get',
    params: parameter
  })
}


// 详情页数据
export function getQueryQrCode (param) {
  return axios({
    url: `https://zzt.weixin.api.dyzh120.com/api/v1/seoWebsite/queryQrCode`,
    method: 'post',
    data: param
  })
}

// 相关推荐
export function getFollowList (id) {
  return axios({
    url: `http://1ac8d2983fe640fbbd2374ab2f7a9a1c.apigateway.res.cloud.gwm.cn/ads/haval/recommend_post?appCode=13192890f4c64de38ff5e6ce593b8def&post_id=706754838702276609`,
    // url: `http://1ac8d2983fe640fbbd2374ab2f7a9a1c.apigateway.res.cloud.gwm.cn/ads/haval/recommend_post?appCode=13192890f4c64de38ff5e6ce593b8def&post_id=${id}`,
    method: 'get',
  })
}

// 获取排班日历
export function getDataList (param) {
  return axios({
    url: `https://zzt.weixin.api.dyzh120.com/api/v1/seoWebsite/dateList`,
    method: 'post',
    data: param
  })
}

// 获取一日排班
export function getOneDayScheduleList (param) {
  return axios({
    url: `https://zzt.weixin.api.dyzh120.com/api/v1/seoWebsite/oneDayScheduleList`,
    method: 'post',
    data: param
  })
}

// 获取号源列表
export function getSource (param) {
  return axios({
    url: `https://zzt.weixin.api.dyzh120.com/api/v1/seoWebsite/getSource`,
    method: 'post',
    data: param
  })
}



